package cc.owoo.godpen.analysis.html;

/**
 * 元素集合
 * Created by nimensei
 * 2022-05-21 上午 01:58
 **/
public class ElementList extends HtmlList<Element> {
    /**
     * 序列化
     *
     * @return 序列化字符串
     */
    public String stringify() {
        StringBuilder string = new StringBuilder();
        for (Element element : this) {
            element.stringify(string, true, true);
            string.append('\n');
        }
        return string.toString();
    }
}
